package cn.doctor.assistant.pad.entity;

import com.alibaba.fastjson.JSON;

import java.io.Serializable;

/**
 * Created by jiaolf on 2016/4/5.
 * 病案记录
 */
public class Record implements Serializable {
    private int id;
    private String userId;
    private String name; //名字
    private String dept; //部门
    private String major; //主治医生

    private int patient_id;//病人ID
//    private String dept_name;//部门名称
    private int dept_id;//部门ID
//    private String major_name;//医生姓名
    private int major_id;//医生ID
//    private String aid_name;//助理姓名
    private int aid_id;//助理ID
    private String note;//入院诊断
    private String admissionDate;//入院日期
    private String dischargeDate;//出院日期
    private String inhiscode;//住院号
    private String origin; //病人来源

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public int getPatient_id() {
        return patient_id;
    }

    public void setPatient_id(int patient_id) {
        this.patient_id = patient_id;
    }

    /*public String getDept_name() {
        return dept_name;
    }

    public void setDept_name(String dept_name) {
        this.dept_name = dept_name;
    }*/

    public int getDept_id() {
        return dept_id;
    }

    public void setDept_id(int dept_id) {
        this.dept_id = dept_id;
    }

    /*public String getMajor_name() {
        return major_name;
    }

    public void setMajor_name(String major_name) {
        this.major_name = major_name;
    }*/

    public int getMajor_id() {
        return major_id;
    }

    public void setMajor_id(int major_id) {
        this.major_id = major_id;
    }

    /*public String getAid_name() {
        return aid_name;
    }

    public void setAid_name(String aid_name) {
        this.aid_name = aid_name;
    }*/

    public int getAid_id() {
        return aid_id;
    }

    public void setAid_id(int aid_id) {
        this.aid_id = aid_id;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getAdmissionDate() {
        return admissionDate;
    }

    public void setAdmissionDate(String admissionDate) {
        this.admissionDate = admissionDate;
    }

    public String getDischargeDate() {
        return dischargeDate;
    }

    public void setDischargeDate(String dischargeDate) {
        this.dischargeDate = dischargeDate;
    }

    public String getInhiscode() {
        return inhiscode;
    }

    public void setInhiscode(String inhiscode) {
        this.inhiscode = inhiscode;
    }

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
